<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="shortcut icon" href="/favicon.ico"/>
<title><?php if(isset($seotitle)): ?><<?php echo ($seotitle); ?>><?php else: ?>[title]<?php endif; ?> - 网站管理系统</title>
<link type="text/css" rel="stylesheet" href="/Public/admin/style/default.css" />
<link type="text/css" rel="stylesheet" href="/Public/admin/plugin/calendar/calendar-blue.css" />
<script type="text/javascript" src="/Public/admin/js/jquery-1.7.min.js"></script>
<script type="text/javascript" src="/Public/admin/plugin/artDialog/jquery.artDialog.js?skin=default"></script>
<script type="text/javascript" src="/Public/admin/plugin/artDialog/plugins/iframeTools.source.js"></script>
<script type="text/javascript" src="/Public/admin/plugin/formValidator/formValidator-4.1.3.js"></script>
<script type="text/javascript" src="/Public/admin/plugin/formValidator/formValidatorRegex.js"></script>
<script type="text/javascript" src="/Public/admin/plugin/calendar/calendar.js"></script>
<script type="text/javascript" src="/Public/admin/plugin/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/Plugin/Uploadify/getuploadify.js"></script>
<script type="text/javascript" src="/Public/admin/js/reset.js"></script>
<script type="text/javascript" src="/Public/admin/js/master.js"></script>

</head><body><div class="mainWrap">	    <!--标题-->    <div class="mainWrapHeader">    	<h1 class="mainWrapTit"><?php echo ($seotitle); ?></h1>        <!--切换需要，写对应ID，及class-->    </div>    <!--标题-->        <form action="<?php echo U('rule_save',array('action'=>'add'));?>" method="post" class="dataForm" id="dataForm">    <div class="mainWrapBd">    	<div class="tab-con" id="tab-works">            <table cellpadding="0" border="0" cellspacing="0" class="stdedit">                <tr>                    <th>规则名称</th>                    <td><input type="text" name="name" id="name" class="sys_text" /></td>                </tr>                <tr>                    <th>规则标识</th>                    <td><input type="text" name="value" id="value" class="sys_text" /><span class="cnote">请保证规则唯一性</span></td>                </tr>                <tr>                    <th>所属模块</th>                    <td>                    	<select name="typeid" id="typeid">                        	<option value="">请选择所属模块</option>                            <?php if(is_array($ruleTypes)): foreach($ruleTypes as $key=>$v): ?><option value="<?php echo ($key); ?>"><?php echo ($v); ?></option><?php endforeach; endif; ?>                        </select>                    </td>                </tr>                <tr>                    <th>是否启用</th>                    <td><label><input type="checkbox" name="status" checked="checked" value="1" /> 启用</label><span class="cnote">未启用将不生效</span></td>                </tr>            </table>                    </div>                        <div class="stdeditSubmit"><input type="submit" class="submit" value="提 交" /> <input type="button" value="返回上一页" class="reset" onclick="history.go(-1);" /></div>    </div>    </form>    </div></body></html><script type="text/javascript">